package com.zhang.common.core.constant;

/**
 * @Description
 * @Author zsw
 * @Date 2019/11/11 14:22
 * @Version V1.0
 **/

public class MsgTemplate {

    /**
     * 异常信息模板
     */
    public static String PARAM_TEMPLATE ="检查参数 [ %s ] 为空";
    public static String RESULT_TEMPLATE ="查询结果 [ %s ] 为空";



    public static String RESULT_SAVE_OK ="保存成功";
    public static String RESULT_DELETE_OK ="删除成功";
    public static String RESULT_UPDATE_OK ="更新成功";


    public static String ERROR_LOGIN_IP ="IP [ %s ] 多次登录错误，已被系统锁定";
    public static String ERROR_LOGIN_USER ="用户 [ %s ] 多次登录错误，已被系统锁定";


    public static String LOCK_LOGIN = "[已开启锁定登录机制] ";
    public static String UNLOCK_LOGIN = "[未开启锁定登录机制] ";
    public static String ERROR_USER_LOGIN_MSG ="用户 [ %s ] 登录连续失败 [%s] 次,异常信息 [ %s ]";
    public static String ERROR_IP_LOGIN_MSG ="IP [ %s ] 登录连续失败 [%s] 次,异常信息 [ %s ]";
    public static String OK_LOGIN_MSG ="用户 [ %s ] 登录成功";


    public static String ERROR_VALIDATE_CODE ="验证码不合法";
    public static String NULL_VALIDATE_CODE ="验证码不能为空";


    public static String ERROR_USER_OR_PWD ="用户名或者密码错误";

}